package com.ojoin.trade.supplyloan_core.web.dao.impl;

import org.springframework.stereotype.Repository;

import com.ojoin.trade.common.web.dao.impl.BaseDaoImpl;
import com.ojoin.trade.supplyloan_core.web.dao.TbCatchdataStrategyDao;
import com.ojoin.trade.supplyloan_core.web.domain.TbCatchdataStrategy;

@Repository
public class TbCatchdataStrategyDaoImpl extends BaseDaoImpl<TbCatchdataStrategy> implements TbCatchdataStrategyDao {

	@Override
	public TbCatchdataStrategy queryByPlatformUserId(int platformUserId) {
		TbCatchdataStrategy tb = new TbCatchdataStrategy();
		tb.setPlatformUserId(platformUserId);
		return this.selectOne(tb);
	}
}
